Imports System.Collections.ObjectModel

Public Class InstallInformation

    Private _Tool As String
    Private _Identifier As String
    Private _Version As String
    Private _Description As String
    Private _DescriptionLanguage As String
    Private _CheckValue As String
    Private _CheckValueType As String
    Private _Keys As List(Of String)

    Public Sub New(ByVal tool As String, ByVal identifier As String, ByVal version As String, ByVal description As String, ByVal descriptionLanguage As String, ByVal checkValue As String, ByVal checkValueType As String, ByVal keys As List(Of String))

        _Tool = tool
        _Identifier = identifier
        _Version = version
        _Description = description
        _DescriptionLanguage = descriptionLanguage
        _CheckValue = checkValue
        _CheckValueType = checkValueType
        _Keys = keys

    End Sub

    Public ReadOnly Property Tool() As String
        Get
            Return _Tool
        End Get
    End Property

    Public ReadOnly Property Identifier() As String
        Get
            Return _Identifier
        End Get
    End Property

    Public ReadOnly Property Version() As String
        Get
            Return _Version
        End Get
    End Property

    Public ReadOnly Property Description() As String
        Get
            Return _Description
        End Get
    End Property

    Public ReadOnly Property DescriptionLanguage() As String
        Get
            Return _DescriptionLanguage
        End Get
    End Property

    Public ReadOnly Property CheckValue() As String
        Get
            Return _CheckValue
        End Get
    End Property

    Public ReadOnly Property CheckValueType() As String
        Get
            Return _CheckValueType
        End Get
    End Property

    Public ReadOnly Property Keys() As ReadOnlyCollection(Of String)
        Get
            Return New ReadOnlyCollection(Of String)(_Keys)
        End Get
    End Property
End Class
